package com.xdap.keymen.controller.punch;


import com.xdap.keymen.service.punch.PunchSalesSupportTicketService;
import com.xdap.motor.annotation.RestWrapper;
import com.xdap.motor.vo.ResponseVo;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;


import java.util.Map;

@RestController
@RequestMapping("/custom/punch/support")
@RequiredArgsConstructor
@Slf4j
public class PunchSalesSupportTicketController {

    private final PunchSalesSupportTicketService punchSalesSupportTicketService;

    @PostMapping("/add")
    @RestWrapper
    public ResponseVo addSalesSupportTicket(@RequestBody Map<String, Object> params ) {
        punchSalesSupportTicketService.addSalesSupportTicket(params);
        return null;
    }
}
